MATEQU

Syntax: MATEQU array1, array2 | value
Location: Math Package

The command MATEQU sets up array1 in two different ways depending on the type of the second parameter:

(1) If another array array2 of the same dimensions is supplied then each element of array1 is set to the corresponding element of array2; or

(2) If the second parameter is not an array but a constant, variable or expression then each element of array1 is set to the given value.

array1, array2 and value can be of any type: integer, floating point or string. array1 and array2 must however be of the same type and have the same number of dimensions.

Examples:   
DIM a$(4,8)
MATEQU a$,"Hi there"   

CROSS-REFERENCE:
MATRND, MATIDN
